package gov.ccswj.modules.apibusiness.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import gov.ccswj.modules.apibusiness.dao.ForeginManagementDao;
import gov.ccswj.modules.apibusiness.service.ForeginManagementService;



@Service("foreginManagementService")
public class ForeginManagementServiceImpl implements ForeginManagementService {

	@Autowired
	private ForeginManagementDao foreginManagementDao;

	
	@Override
	public List<Map<String, Object>> query(String area, Integer type, Integer industry) {
		return foreginManagementDao.query(area,type,industry);
	}

	@Override
	public List<Map<String, Object>> policy(Integer s, Integer n, String policyType) {
		return foreginManagementDao.policy(s*n,n,policyType);
	}

	@Override
	public int count(String table) {
		// TODO Auto-generated method stub
		return foreginManagementDao.count(table);
	}

	@Override
	public List<Map<String, Object>> inoutyear(String year) {
		// TODO Auto-generated method stub
		return foreginManagementDao.inoutyear(year);
	}

	@Override
	public List<Map<String, Object>> inoutcountry(String string) {
		// TODO Auto-generated method stub
		return foreginManagementDao.inoutcountry(string);
	}

	@Override
	public List<Map<String, Object>> project(Integer s, Integer n) {
		// TODO Auto-generated method stub
		return foreginManagementDao.project(s*n,n);
	}

	@Override
	public List<Map<String, Object>> projectid(Integer id) {
		// TODO Auto-generated method stub
		return foreginManagementDao.projectid(id);
	}

	@Override
	public List<Map<String, Object>> knowledgeall(String searchKey, Integer message, Integer s, Integer n) {
		// TODO Auto-generated method stub
		return foreginManagementDao.knowledgeall(searchKey,message,s*n,n);
	}

	@Override
	public List<Map<String, Object>> knowledge(String searchKey, Integer industry, Integer message, Integer s,
			Integer n) {
		// TODO Auto-generated method stub
		return foreginManagementDao.knowledge(searchKey,industry,message,s*n,n);
	}

	@Override
	public List<Map<String, Object>> article(String text, Integer s, Integer n) {
		// TODO Auto-generated method stub
		return foreginManagementDao.article(text,s*n,n);
	}

	@Override
	public List<Map<String, Object>> articleid(Integer id) {
		// TODO Auto-generated method stub
		return foreginManagementDao.articleid(id);
	}

	@Override
	public List<Map<String, Object>> projectlist(String text, Integer s, Integer n) {
		// TODO Auto-generated method stub
		return foreginManagementDao.projectlist(text,s*n,n);
	}
	
	@Override
	public List<Map<String, Object>> projectlistid(Integer id) {
		// TODO Auto-generated method stub
		return foreginManagementDao.projectlistid(id);
	}

	@Override
	public List<Map<String, Object>> supplydemand(String text, Integer s, Integer n) {
		// TODO Auto-generated method stub
		return foreginManagementDao.supplydemand(text,s*n,n);
	}

	@Override
	public List<Map<String, Object>> supplydemandid(Integer id) {
		// TODO Auto-generated method stub
		return foreginManagementDao.supplydemandid(id);
	}

	@Override
	public List<Map<String, Object>> industryarticleid(Integer id) {
		// TODO Auto-generated method stub
		return foreginManagementDao.industryarticleid(id);
	}

	@Override
	public List<Map<String, Object>> industryarticle(Integer s, Integer n) {
		// TODO Auto-generated method stub
		return foreginManagementDao.industryarticle(s*n,n);
	}

	@Override
	public List<Map<String, Object>> traderisk(String text, Integer s, Integer n) {
		// TODO Auto-generated method stub
		return foreginManagementDao.traderisk(text,s*n,n);
	}

	@Override
	public List<Map<String, Object>> traderiskid(Integer id) {
		// TODO Auto-generated method stub
		return foreginManagementDao.traderiskid(id);
	}

	@Override
	public List<Map<String, Object>> inyear(String string) {
		// TODO Auto-generated method stub
		return foreginManagementDao.inyear(string);
	}

	@Override
	public List<Map<String, Object>> queryInandout(String types) {
		return foreginManagementDao.queryInandout(types);
	}
	
}
